<%--
  Created by IntelliJ IDEA.
  User: 10332
  Date: 2020/7/25
  Time: 15:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <form method="post" action="updateDept">
        <table border="1px" align="center" >
            <tr>
                <th>部门名称：</th>
                <th><input type="text" name="dname" value="${dept.dname}"></th>
            </tr>
            <tr>
                <th>部门地址：</th>
                <th><input type="text" name="loc" value="${dept.loc}"></th>
            </tr>
            <tr>
               <th colspan="2"><input type="submit" value="保存"> <input type="reset" value="取消"></th>
            </tr>
        </table>
        <input type="hidden" name="deptno" value="${dept.deptno}">
    </form>
</body>
</html>
